import { createApp } from "vue";
import { createPinia } from "pinia";

import App from "./App.vue";
import router from "./router";
import vant from "vant";
import "vant/lib/index.css";
import "./assets/main.css";

import "./assets/font-icon/iconfont.css";
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'



// console.log(dayjs().format('YYYY/MM/DD'));
const pinia = createPinia();
pinia.use(piniaPluginPersistedstate);

const app = createApp(App);

app.use(pinia);
app.use(router);
app.use(vant);

app.mount("#app");
